<template>
	<view class="nav">
		<view class=""></view>
		<view class="navBar"></view>
	</view>
</template>

<script setup>
import { onBeforeMount } from 'vue';

	onBeforeMount(()=>{
		setNavSize()
	})
	const setNavSize = ()=>{
		const res = uni.getSystemInfoSync()
		console.log(res)
	}
	
</script>

<style>
	.nav{
		position: fixed;
		width: 100%;
		top: 0;
		left: 0;
		z-index: 2;
	}
</style>